home *** CD-ROM | disk | FTP | other *** search
/ Wild Blue Yonder 1: 50 Years of Gs & Jets / Wild Blue Yonder - Episode 1 - 50 Years of Gs and Jets (Digital Ranch) (Spectrum Holobyte)(1-107-40-101)(1994).iso / control / panel.dir / 00715_Script_715 < prev    next >
Text File  |  1994-08-29  |  3KB  |  84 lines

  1. on initAll
  2.   global ambiencePath, backPage, backPageNeg, backPagePos, bgSlider, ¼
  3.          bgTrack, bigIcon, biteSlider, biteTrack, button, buttonGap, ¼
  4.          buttonWidth, buttonZone, controller, DL, engineSlider, ¼
  5.          engineTrack, eraGap, eraWidth, eraZone, firstColDex, ¼
  6.          firstColPrint, forwardPage, forwardPageNeg, forwardPagePos, ¼
  7.          glossaryLetters, indexLetters, landingSound, leftCol, ¼
  8.          letterStrip, lineHeight, machine, mooVSlider, mooVTrack, mute, ¼
  9.          nameBottom, noController, pad, padHilite, panelBackArrowNeg, ¼
  10.          panelBackArrowPos, panelDummy, panelFirstGlobe, panelLastGlobe, ¼
  11.          planeNameNeg, rightCol, sliderCast, topLeftLite, topRightLite, ¼
  12.          Win
  13.   
  14.   -- CAST NUMBERS
  15.   set backPageNeg        = the number of cast "back page neg"
  16.   set backPagePos        = the number of cast "back page pos"
  17.   set controller         = the number of cast "controller"
  18.   set firstColDex        = the number of cast "first index column")
  19.   set firstColPrint      = the number of cast "first print column"
  20.   set forwardPageNeg     = the number of cast "forward page neg"
  21.   set forwardPagePos     = the number of cast "forward page pos"
  22.   set noController       = the number of cast "no controller"
  23.   set panelBackArrowNeg  = the number of cast "back arrow neg"
  24.   set panelBackArrowPos  = the number of cast "back arrow pos"
  25.   set panelDummy         = the number of cast "panel dummy"
  26.   set panelFirstGlobe    = the number of cast "first globe"
  27.   set panelLastGlobe     = the number of cast "last globe"
  28.   set sliderCast         = the number of cast "slider"
  29.   
  30.   -- SPRITE NUMBERS (COMMON)
  31.   set bigIcon            =  2
  32.   set buttonZone         =  7
  33.   set button             =  8
  34.   set planeNameNeg       =  9
  35.   
  36.   -- SPRITE NUMBERS (NAVIGATION)
  37.   set eraZone            = 12
  38.   set mute               = 13
  39.   
  40.   -- SPRITE NUMBERS (INDEX/GLOSSARY/HELP/PRINT/CREDITS)
  41.   set pad                = 10
  42.   set backPage           = 11
  43.   set forwardPage        = 12
  44.   set padHilite          = 13
  45.   set leftCol            = 14
  46.   set rightCol           = 15
  47.   set letterStrip        = 16
  48.   
  49.   -- SPRITE NUMBERS (CONTROLS)
  50.   set mooVTrack          = 14
  51.   set mooVSlider         = 15
  52.   set biteTrack          = 16
  53.   set biteSlider         = 17
  54.   set engineTrack        = 18
  55.   set engineSlider       = 19
  56.   set bgTrack            = 20
  57.   set bgSlider           = 21  
  58.   
  59.   -- CONSTANTS
  60.   set buttonGap          =  41
  61.   set buttonWidth        =  25
  62.   set eraGap             =   6
  63.   set eraWidth           = 113
  64.   set nameBottom         =  72
  65.   set ambiencePath     = "Audio" &DL& "Ambience" &DL
  66.   set landingSound     = "Audio" &DL& "landing.aif"
  67.   
  68.   -- MACHINE-SPECIFIC GLOBALS
  69.   
  70.   if the machineType = Win then
  71.     set machine          = "Win "
  72.     set lineHeight       = 16.65
  73.   else
  74.     set machine          = "Mac "
  75.     set lineHeight       = 15.96
  76.   end if
  77.   
  78.   set glossaryLetters  = the number of cast (machine & "glossary letters")
  79.   set indexLetters     = the number of cast (machine & "index letters") 
  80.   set topLeftLite      = the number of cast (machine & "top left hilite")
  81.   set topRightLite     = the number of cast (machine & "top right hilite")
  82.   
  83. end initAll
  84.